package com.why.blog.admin.login;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class PageController {
    @GetMapping("/{pageName}")
    public String ss(@PathVariable("pageName") String s){
        return s;
    }

    @GetMapping("/web/{pageName}")
    public String rewordindex(@PathVariable("pageName") String s) {
        return "webfont/"+s;
    }

}
